from django.forms import TextInput


class MoneyWidget(TextInput):
    def __init__(self, *args, **kwargs):
        super(MoneyWidget, self).__init__(attrs={'class': 'moneyfield'})


class PhoneWidget(TextInput):
    def __init__(self, *args, **kwargs):
        super(PhoneWidget, self).__init__(attrs={'class': 'telephonefield'})


class CPFWidget(TextInput):
    def __init__(self, *args, **kwargs):
        super(CPFWidget, self).__init__(attrs={'class': 'cpffield'})


class CNPJWidget(TextInput):
    def __init__(self, *args, **kwargs):
        super(CNPJWidget, self).__init__(attrs={'class': 'cnpjfield'})